﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class admin_Courses : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            //add method to show all courses and thev ideos included in each course
            //ElearningDataContext context = new ElearningDataContext();
           // GridView1.DataSource = context.Courses;
           //GridView1.DataSource = context.Videos;
            //GridView1.DataBind();
        }
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        Response.Redirect("CourseDetails.aspx");
    }
}